from rest_framework.views import APIView
from rest_framework.response import Response


class TestCorsAPIView(APIView):
    def get(self,request):

        return Response({
            'code':200,
            'msg':'响应成功'
        })